<?php foreach($this->paginator as $re){?>
<div class="caiContainer">
	<div class="cai">
		<div class="iconContainer">
			<img src="<?php echo $re['icon']?>" alt="<?php echo $re['name']?>" title="<?php echo $re['name']?>"/>
		</div>
		<div class="infoContainer">
			<h3><?php echo $re['name']?></h3>
			<table cellpadding="0" cellspacing="0" >
				<tr><td class="td1">规格</td><td class="td2"><?php echo $re['size']?></td><td class="td1">重量</td><td class="td2"><?php echo $re['weight']?></td></tr>
				<tr><td class="td1">详细描述</td><td class="td3" colspan="3"><?php echo $re['text_desc']?></td></tr>
			</table>
			<div class="btnContainer">
				<div class="btnCai"><a href="<?php echo DOMAIN_URL.'/cai-jia-ge/'.$re['url_spell'].'-cid'.$re['id'].'.html'?>" target="_blank">猜价格</a></div>
				<div class="btnKan" id="<?php echo $re['id']?>"><a href="#" onclick="javascript:showPrice(<?php echo $re['id']?>);return false;">查看价格</a><div class="price"><?php echo $re['price']?></div></div>
			</div>
		</div>	    




	</div>
</div>
<?php }?>
<div id="article-footinfo-area">
<?php echo $this->paginationControl($this->paginator,
                                    'Sliding',
                                    'my_pagination_control.phtml'); ?>
</div>
<script type="text/javascript">
function showPrice(id){
	$("#"+id).children('a').fadeOut(1500);
	$("#"+id).children('.price').fadeIn(1500);
}

</script>